package com.docker.ywx.mapper;

import java.util.List;
import com.docker.ywx.domain.DoctorMedicalrecord;

/**
 * 病历模版Mapper接口
 * 
 * @author ruoyi
 * @date 2025-04-09
 */
public interface DoctorMedicalrecordMapper 
{
    /**
     * 查询病历模版
     * 
     * @param id 病历模版主键
     * @return 病历模版
     */
    public DoctorMedicalrecord selectDoctorMedicalrecordById(Long id);

    /**
     * 查询病历模版列表
     * 
     * @param doctorMedicalrecord 病历模版
     * @return 病历模版集合
     */
    public List<DoctorMedicalrecord> selectDoctorMedicalrecordList(DoctorMedicalrecord doctorMedicalrecord);

    /**
     * 新增病历模版
     * 
     * @param doctorMedicalrecord 病历模版
     * @return 结果
     */
    public int insertDoctorMedicalrecord(DoctorMedicalrecord doctorMedicalrecord);

    /**
     * 修改病历模版
     * 
     * @param doctorMedicalrecord 病历模版
     * @return 结果
     */
    public int updateDoctorMedicalrecord(DoctorMedicalrecord doctorMedicalrecord);

    /**
     * 删除病历模版
     * 
     * @param id 病历模版主键
     * @return 结果
     */
    public int deleteDoctorMedicalrecordById(Long id);

    /**
     * 批量删除病历模版
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDoctorMedicalrecordByIds(Long[] ids);
}
